package com.jeesite.modules.jdProduct.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * @ClassName DelayOrderDao
 * @description  定时下单
 * @Author ouyang
 * @Date 2019/6/12 17:03
 **/
@Table(name = "zt_delay_order", alias = "a", columns = {
        @Column(name = "id", attrName = "id", label = "编号", isPK = true),
        @Column(name = "content",attrName = "content",label = "json"),
        @Column(name = "order",attrName = "order",label = "订单号"),
        @Column(name = "status",attrName = "status",label = "状态"),
        @Column(name = "expire_time",attrName = "expireTime",label = "过期时间"),
}, orderBy = "a.created_time DESC")
public class DelayOrder extends DataEntity<DelayOrder> {

    private String content;
    private String order;
    private String status;
    private Long expireTime;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }


    @Override
    public String getStatus() {
        return status;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }
}
